#!/usr/bin/env python3
# -*- coding: utf-8 -*-

#多重继承
#如果需要 混入 额外的功能，通过多重继承就可以实现，这种设计通常称之为MixIn

class Code():
    
    def can_code(self):
        print('you can code')

class Sleep():

    def can_sleep(self):
        print('you can sleep')

class Programer(Code, Sleep):

    pass


pro = Programer()

pro.can_code()
pro.can_sleep()